﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace mozhi.smarterp.Business.Suppliers
{
    public class SupplierPrice : AuditedAggregateRoot<Guid>, IMultiTenant
    {
        public string Code {  get; private set; }

        public string Name { get; private set; }

        public Guid? TenantId { get; private set; }

        public Guid SupplierId { get; private set; }

        public Guid ProductId { get; private set; }

        public Guid CurrencyId { get; private set; }

        public Guid BasicUnit { get; private set; }

        public decimal NoTaxPrice {  get; private set; }

        public decimal TaxPrice {  get; private set; }

        public Guid TaxRateId { get; private set; }

        /// <summary>
        /// 生效日期
        /// </summary>
        public DateTime EffectiveDate {  get; private set; }

        /// <summary>
        /// 失效日期
        /// </summary>
        public DateTime? ExpiringDate {  get; private set; }
    }
}
